package com.example.mapper;

import com.example.entity.Good;
import com.example.entity.GoodStock;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodStockMapper {
    List<Good> findBySearch(@Param("params") Params params);


    int add(GoodStock goodStock);

    void deleteById(Integer id);

    List<GoodStock> selectAll();
}
